/*
 * Copyright 2020-2021 redragon.dongbin
 *
 * This file is part of redragon-erp/赤龙ERP.

 * redragon-erp/赤龙ERP is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.

 * redragon-erp/赤龙ERP is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU General Public License
 * along with redragon-erp/赤龙ERP.  If not, see <https://www.gnu.org/licenses/>.
 */
package com.erp.order.poa.dao.model;

import lombok.Data;

import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@MappedSuperclass
public class PoAgreementLineBaseVO {

    //Constructors
    public PoAgreementLineBaseVO() {
    }
    
    //Fields
    
    //合同补充id
    private Integer poLineId;

    //合同编码
    private String poHeadCode;

    //补充条款描述
    private String memo;


    //状态
    private String status;

    // 审批状态（未提交UNSUBMIT、待审批SUBMIT、审批中APPROVE、已驳回REJECT、审批完结COMPLETE）
    private String approveStatus;

    //创建时间
    private String createdDate;

    //创建人
    private String createdBy;

    //最后修改时间
    private String lastUpdatedDate;

    //最后修改人
    private String lastUpdatedBy;

    //附件地址
    private String fileUrl;

    //合同补充流程实例id
    private String processInstanceId;

    /*
     * 用于展示的字段
     */
    // 合同名称
    private String poName;

    // 签订单位
    private String vendorCode;

    // 发起单位
    private String sponsorCode;

    // 实施站点
    private String orgCode;

    // 实施部门
    private String departmentCode;
    //开始日期
    private String startDate;
    //终止日期
    private String endDate;


}